using System;
using System.Collections.Generic;

namespace Facebook.Fluent
{
    public class Select
    {
        public static FromFluentInterface Columns<Field>(params Field[] fields) 
        {
            FQLQuery query = new FQLQuery();
            query.AddSelect(fields);
            return new FromFluentInterface(query);
        }

        public static FromFluentInterface All<Field>()
        {
            FQLQuery query = new FQLQuery();

            Field[] allValues = ((Field[])Enum.GetValues(typeof(Field)));
            List<Field> allUserFields = new List<Field>(allValues);

            query.AddSelect(allUserFields.ToArray());

            return new FromFluentInterface(query);
        }
    }
}